package connector.homework2;

public class Person {


    public void use(Dailup dailup){
        dailup.dailup();
    }

    public void use(takePhoto photo) {
        photo.photograph();
    }

    public void use(Play play){
        play.play();
    }

    public void use(Mobile mobile){
        mobile.dailup();
        mobile.play();
        mobile.photograph();
    }
}
